@charset 'utf-8';

//inventoryResult
.legend-fun(@n, @i: 1) when(@i =< @n) {
	@colorList: #20cbaf, #2ec25b, #facc14, #ef4864, #3000ff;
	.legend-@{i}::before {
		background: extract(@colorList, @i);
	}
	.legend-fun(@n, (@i + 1));
}

@media print {
	.nonprint {
		display: none;
	}
}
//暗黑主题
.blacktheme {
	.area-content > p {
		color: #d9d9d9 !important;
	}
	&.container-area > div:first-child {
		border-bottom: 1px solid #36373c;
	}
	.radioLists {
		border-right: 1px solid #36373f !important;
		& > p {
			background: #2b2b30 !important;
			border-bottom: 1px solid #36373c !important;
			span {
				color: #d9d9d9 !important;
			}
		}
		& > div.active {
			background: #36363c !important;
		}
		& > div:hover {
			background: #2b2b30 !important;
		}
		& > div {
			color: #bdbdbd !important;
			border-bottom: 1px solid #36373f !important;
		}
	}
	&.allocation-person {
		border-top: 1px solid #36373f !important;
	}
	.alert-info {
		color: #bdbdbd !important;
		.alert-img-area {
			opacity: 0.5;
		}
	}
}
.org-content {
	align-items: center;
	.title-search-detail {
		font-weight: bold;
	}
}
.result-area {
	padding: 0 25px 20px;
	background: #fff;
	.msg-area {
		padding-top: 20px;
		& > div {
			display: flex;
			font-size: 14px;
			margin-bottom: 20px;
			p {
				margin-right: 20px;
			}
			span {
				margin: auto 5px;
			}
		}
	}
	.result-msg-area {
		& > div {
			margin-bottom: 30px;
			p {
				margin-right: 50px;
				height: 21px;
				font-size: 13px;
				font-family: PingFangHK-Regular;
				color: rgba(0, 0, 0, 1);
				line-height: 21px;
				span {
					margin: auto 10px;
				}
			}
		}
		& > div:first-child {
			display: flex;
		}
	}
	.pie-box {
		display: flex;
		align-items: center;
		padding-bottom: 20px;
		border-bottom: 2px dotted #ddd;
		.legend-area {
			font-size: 14px;
			color: #999;
			min-width: 200px;
			p {
				margin-top: 15px;
				& > span {
					margin-left: 30px;
					color: #007ace;
				}
				&:hover {
					cursor: pointer;
				}
				&::before {
					content: '';
					display: inline-block;
					width: 12px;
					height: 10px;
					border-radius: 4px;
					margin-right: 10px;
				}
			}
			p:nth-child(6) {
				margin-top: 30px;
			}
			.legend-fun(5);
		}
		.assetInfo {
			height: 210px;
			margin-left: 50px;
			& > p,
			& > div {
				margin-top: 15px;
				font-family: 'Arial Normal', 'Arial';
				font-weight: 400;
				font-style: normal;
				color: #999;
				line-height: normal;
				font-size: 15px;
			}
			& > div {
				text-indent: 2em;
			}
		}
	}
}
//stepThree
.echarts-area {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	margin: auto 5%;
	.assetInfo {
		width: 55%;
		height: 210px;
		& > p {
			margin-top: 15px;
		}
		.title {
			height: 21px;
			font-size: 13px;
			font-family: PingFangHK-Regular;
			font-weight: 400;
			color: rgba(129, 129, 138, 1);
			line-height: 21px;
		}
		.msg {
			height: 21px;
			font-size: 13px;
			font-family: PingFangHK-Regular;
			font-weight: 400;
			color: rgba(41, 46, 53, 1);
			line-height: 21px;
		}
		.scope-p {
			text-indent: 2em;
		}
	}
}
#echartPieBox {
	width: 40%;
	height: 300px;
}
#echartsLineBox {
	width: 90%;
	height: 500px;
}
.divisionLine {
	width: 100%;
	margin-bottom: 50px;
	border-bottom: 1px solid rgba(217, 217, 217, 1);
}

//stepTwo
.fa-inventory {
	.nc-bill-table-area {
		height: calc(~'100% - 62px');
	}
	.current-content-area {
		// height: auto;
		padding-top: 20px;
		background: #fff;
		min-height: 100%;
		& > div:nth-child(2) {
			height: 100%;
		}
	}
	.allocation-person {
		height: calc(~'100% - 76px');
	}
	.stepTwo-content-area {
		height: 100% !important;
		& > div:nth-child(2) {
			height: calc(~'100% - 76px') !important;
		}
		.allocation-person {
			height: 100% !important;
		}
	}
}
.allocation-person {
	@border: 1px solid #ddd;
	display: flex;
	// justify-content: space-around;
	margin-top: 20px;
	border-top: @border;
	color: rgb(51, 51, 51);
	font-size: 14px;
	.radioLists {
		width: 30%;
		border-right: @border;
		& > p {
			height: 45px;
			line-height: 45px;
			text-align: center;
			background: rgba(255, 246, 223, 1);
			border-bottom: @border;
		}
		& > div {
			height: 45px;
			line-height: 45px;
			border-bottom: @border;
			padding-left: 20px;
			&:hover {
				cursor: pointer;
				background: #ccc;
			}
			&.active {
				background: rgba(243, 243, 243, 1);
				border-left: 3px solid #e14c46;
			}
		}
	}
	.takeStockInfo {
		width: 70%;
		.editTable-btn-area {
			line-height: 44px;
			height: 44px;
			text-align: right;
			padding-right: 20px;
		}
		.alert-info {
			display: flex;
			align-items: center;
			flex-direction: column;
			justify-content: center;
			height: 100%;
			.alert-img-area {
				background-size: cover;
				width: 60px;
				height: 60px;
				background-image: url('../resources/images/inventoryHint.png');
				margin-bottom: 10px;
				// width: 300px;
				// height: 170px;
				// border-radius: 5px;
				// background: #666;
				// color: #fff;
				// display: flex;
				// align-items: center;
				// flex-direction: column;
				// justify-content: center;
				// margin-bottom: 15px;
			}
		}
	}
}
//index || stepOne
.title-info-area {
	& > span {
		margin: auto 15px;
	}
	& > span:first-child:hover {
		cursor: pointer;
	}
}
.container-area {
	padding: 10px 20px;
	.search-area-contant {
		width: 90%;
	}
	& > div {
		display: flex;
		align-items: center;

		& > p {
			width: 84px;
			height: 19px;
			font-size: 14px;
			font-family: MicrosoftYaHei;
			color: rgba(17, 17, 17, 1);
			line-height: 19px;
			&::before {
				content: '';
				display: inline-block;
				margin-right: 5px;
				margin-bottom: -3px;
				width: 3px;
				height: 15px;
				background: rgba(225, 76, 70, 1);
			}
		}
	}
	& > div:first-child {
		padding-bottom: 30px;
		margin-bottom: 15px;
		border-bottom: 1px solid rgba(228, 233, 240, 1);
	}
	#childform2 {
		.lightapp-component-form {
			padding-left: 0px;
		}
		.start_date,
		.end_date {
			width: 50% !important;
		}
	}
	.clearBtn {
		max-width: 33% !important;
	}
	.search-component-btnDiv {
		width: 0 !important;
	}
}
//步骤条
.step-area {
	width: 70%;
	margin: 10px auto;
}
//echarts
.data-area {
	position: relative;
	left: 5%;
	font-size: 16px;
}
#test1,
#lineBox {
	width: 60%;
	height: 400px;
}
#lineBox {
	padding-left: 10%;
}
//悬浮提示框
.toolTip {
	padding: 10px;
	p {
		height: 19px;
		font-size: 14px;
		font-family: MicrosoftYaHei;
		color: rgba(255, 255, 255, 1);
		line-height: 19px;
		margin-bottom: 5px;
		span {
			margin-left: 5px;
		}
	}
	p:nth-child(2)::before {
		content: '';
		display: inline-block;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		position: relative;
		bottom: 2px;
		right: 5px;
		background: #20cbaf;
	}
	p:nth-child(3)::before {
		content: '';
		display: inline-block;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		position: relative;
		bottom: 2px;
		right: 5px;
		background: #ff9a48;
	}
}
